package cn.mugutu.finance.domain.system;

import lombok.Data;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.util.Date;

/**
 * 系统描述配置
 *
 * @author ganbo
 *         2016年6月23日 下午1:43:22
 */

@Entity
@Cache(usage = CacheConcurrencyStrategy.READ_ONLY) //这里二级缓存配置为只读的
@Table(name = "sys_config")
@Data
public class SystemConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private String title;        //浏览器显示title名字
    private String name;         //系统名字
    private String sysVersion;   //系统版本
    @Temporal(TemporalType.DATE)
    private Date publishDate;    //部署时间
    private String copyright;    //版权所有


}
